// KCServerDlg.h : header file
//

#if !defined(AFX_KCSERVERDLG_H__BE1F0341_1364_4562_80D9_A161D9F2D17F__INCLUDED_)
#define AFX_KCSERVERDLG_H__BE1F0341_1364_4562_80D9_A161D9F2D17F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CKCServerDlg dialog
#define WM_SHOWTASK (WM_USER + 1)
#define WM_TASKBAR  (WM_USER + 1000)

class CKCServerDlg : public CDialog
{
// Construction
public:
	CKCServerDlg(CWnd* pParent = NULL);	// standard constructor

	void DeleteTray();
	void ToTray();

// Dialog Data
	//{{AFX_DATA(CKCServerDlg)
	enum { IDD = IDD_KCSERVER_DIALOG };
	CStatic	m_LWP;
	CStatic	m_LWIP;
	CStatic	m_LNT;
	CStatic	m_ON;
	CStatic	m_TC;
	CStatic	m_TR;
	CButton	m_LNSS;
	CStatic	m_FN;
	CEdit	m_URL;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CKCServerDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CKCServerDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	virtual void OnOK();
	virtual void OnCancel();
	afx_msg void OnButtonHide();
	afx_msg LRESULT OnShowTask(WPARAM wParam,LPARAM lParam) ;
	afx_msg void OnButtonQuit();
	afx_msg void OnButtonEn();
	afx_msg void OnButtonCn();
	afx_msg void OnTimer(UINT nIDEvent);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_KCSERVERDLG_H__BE1F0341_1364_4562_80D9_A161D9F2D17F__INCLUDED_)
